//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['San Diego State Aztecs vs. Fresno State Bulldogs','Tony Gwynn Stadium','San Diego, CA','Saturday','5/4/2024','6:00 PM','6072790','San-Diego-State-Aztecs-vs--Fresno-State-Bulldogs-5-4-2024'],['San Diego State Aztecs vs. Fresno State Bulldogs','Tony Gwynn Stadium','San Diego, CA','Sunday','5/5/2024','1:00 PM','6072791','San-Diego-State-Aztecs-vs--Fresno-State-Bulldogs-5-5-2024'],['San Diego State Aztecs vs. Air Force Falcons','Tony Gwynn Stadium','San Diego, CA','Friday','5/10/2024','6:00 PM','6072792','San-Diego-State-Aztecs-vs--Air-Force-Falcons-5-10-2024'],['San Diego State Aztecs vs. Air Force Falcons','Tony Gwynn Stadium','San Diego, CA','Saturday','5/11/2024','6:00 PM','6072793','San-Diego-State-Aztecs-vs--Air-Force-Falcons-5-11-2024'],['San Diego State Aztecs vs. Air Force Falcons','Tony Gwynn Stadium','San Diego, CA','Sunday','5/12/2024','1:00 PM','6072794','San-Diego-State-Aztecs-vs--Air-Force-Falcons-5-12-2024'],['San Diego State Aztecs vs. Texas A&M-Commerce Lions','Snapdragon Stadium','San Diego, CA','Saturday','8/31/2024','TBD','6315452','San-Diego-State-Aztecs-vs--Texas-A-M-Commerce-Lions-8-31-2024'],['San Diego State Aztecs vs. Oregon State Beavers','Snapdragon Stadium','San Diego, CA','Saturday','9/7/2024','TBD','6298568','San-Diego-State-Aztecs-vs--Oregon-State-Beavers-9-7-2024'],['California Golden Bears vs. San Diego State Aztecs','Memorial Stadium - CA','Berkeley, CA','Saturday','9/14/2024','TBD','6117326','California-Golden-Bears-vs--San-Diego-State-Aztecs-9-14-2024'],['San Diego State Aztecs vs. Hawaii Rainbow Warriors','Snapdragon Stadium','San Diego, CA','Saturday','10/5/2024','TBD','6298581','San-Diego-State-Aztecs-vs--Hawaii-Rainbow-Warriors-10-5-2024'],['Wyoming Cowboys vs. San Diego State Aztecs','War Memorial Stadium - WY','Laramie, WY','Saturday','10/12/2024','TBD','6298610','Wyoming-Cowboys-vs--San-Diego-State-Aztecs-10-12-2024'],['San Diego State Aztecs vs. Washington State Cougars','Snapdragon Stadium','San Diego, CA','Saturday','10/26/2024','TBD','6117684','San-Diego-State-Aztecs-vs--Washington-State-Cougars-10-26-2024'],['Boise State Broncos vs. San Diego State Aztecs','Albertsons Stadium','Boise, ID','Saturday','11/2/2024','TBD','6298514','Boise-State-Broncos-vs--San-Diego-State-Aztecs-11-2-2024'],['San Diego State Aztecs vs. New Mexico Lobos','Snapdragon Stadium','San Diego, CA','Saturday','11/9/2024','TBD','6298582','San-Diego-State-Aztecs-vs--New-Mexico-Lobos-11-9-2024'],['UNLV Rebels vs. San Diego State Aztecs','Allegiant Stadium','Las Vegas, NV','Saturday','11/16/2024','TBD','6298601','UNLV-Rebels-vs--San-Diego-State-Aztecs-11-16-2024'],['Utah State Aggies vs. San Diego State Aztecs','Merlin Olsen Field At Maverik Stadium','Logan, UT','Saturday','11/23/2024','TBD','6298604','Utah-State-Aggies-vs--San-Diego-State-Aztecs-11-23-2024'],['San Diego State Aztecs vs. Air Force Falcons','Snapdragon Stadium','San Diego, CA','Saturday','11/30/2024','TBD','6298580','San-Diego-State-Aztecs-vs--Air-Force-Falcons-11-30-2024']],'San Diego State Aztecs','http://www.ticketnetwork.com/ticket/San-Diego-State-Aztecs-events.aspx');